package com.itheima.exerciseTest.method30_39.method30;

public class Warehouse {
    private volatile int numberScope;

    public Warehouse() {
        this(100);
    }

    public Warehouse(int numberScope) {
        this.numberScope = numberScope;
    }

    public int getNumberScope() {
        return numberScope;
    }

    public void setNumberScope(int numberScope) {
        this.numberScope = numberScope;
    }
}
